package com.example.eurekaconsumer.mapper;

import com.example.eurekaconsumer.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.omg.CORBA.Object;

import java.util.List;
import java.util.Map;

/**
 * @title: SysUserMapper
 * @projectName spring-cloud-demo
 * @Date: 2021/2/23 14:57
 * @Author: lei.yu-esint
 * @Description:
 */
@Mapper
public interface SysUserMapper {

    SysUser findAll(@Param("username") String username);

    List<Map<String, Object>> getGoods();

    Map<String, Object> proInfo(String uuid);

    Map<String, Object> getUserInfo(String username);

    List<Map<String, Object>> getList(@Param("keywords") String keywords, @Param("pages") Integer pages, @Param("sizes") Integer sizes);
}
